package cn.tqfeiyang.smartadmin.office.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.*;
import lombok.Data;

/**
 * 通知分类修改请求
 *
 * @author tqfeiyang
 * @since 2024-09-05
 */
@Data
public class NoticeCategoryUpdateDTO {

    /**
     * 名称
     */
    @Schema(description = "名称")
    @Size(max = 50, message = "名称长度不能超过50字符")
    private String name;

    /**
     * 排序
     */
    @Schema(description = "排序")
    private Integer sort;

}